package cn.virens.common.mybatis.service.dubbo.consumer;

import cn.virens.common.mybatis.entity.BaseModelLock;
import cn.virens.common.mybatis.service.dubbo.BaseWriteLockProvider;
import cn.virens.common.spring.retry.VirRetryException;

public abstract class BaseWriteLockConsumerImpl<S extends BaseWriteLockProvider<T>, T extends BaseModelLock> extends BaseWriteConsumerImpl<S, T> implements BaseWriteLockProvider<T> {

    @Override
    public T updateLock(T record) throws VirRetryException {
        return baseProvider().updateLock(record);
    }
}
